package array;

import java.util.Comparator;

public class OrdenedArray<T> extends Array<T> {

	private Comparator<T> comp;
	private int last;
	
	public OrdenedArray(Comparator<T> comp){
		super();
		last = 0;
		this.comp = comp;
	}
	
	public OrdenedArray(Comparator<T> comp, int size){
		super(size);
		last = 0;
		this.comp = comp;
	}
	
	public void add(T elem){
		
	}
	
	public boolean has(T elem){
		return false;
		
	}
	
	public void set(int i, T elem){
		
	}
	
	public void remove(T elem){
		
	}
	
	public T remove(int i){
		return null;	
	}

	public T remove(){
		return null;	
	}
	
	public int size() {
		return size;
	}
	
	public Array<T> ordened (Comparator<T> comp){ 
		return null;
	}
}
